#include "Win.h"


wrl::ComPtr<IDirect3D9> _D3D;
wrl::ComPtr<IDirect3DDevice9> _Device; 
wrl::ComPtr<ID3DXSprite> _Sprite;

bool isCollide(Entity* a, Entity* b)
{
    return (b->x - a->x) * (b->x - a->x) +
        (b->y - a->y) * (b->y - a->y) <
        (a->R + b->R) * (a->R + b->R);
}